package NguyenNgocHungBaiTapMVCPart02;

public class Models04 {
	
	public double AreaRectangle(Rectangle objRectangle){
		double Area = objRectangle.getWidth() * objRectangle.getHeight();
		/*String Color = objRectangle.getColor();*/
		return Area;
	}
	public double PrimeterRectangle(Rectangle objRectangle){
		double Pri = (objRectangle.getWidth() + objRectangle.getHeight())*2;
		String color = objRectangle.getColor();
		return Pri;
	}
	public String Color(Rectangle objRectangle){
		String color = objRectangle.getColor();
		return color;
	}
}
